﻿using Serilog;
namespace ShareLib;
public class SeriLogSettings
{
    // 日志文件路径
    public string LogFilePath { get; set; } = "./Logs/log-.txt";    
    public RollingInterval RollingInterval { get; set; } = RollingInterval.Day;
    // 日志保留个数
    public int RetainedFileCountLimit { get; set; } = 31;

    // 启用异步日志时的日志路径
    public string AsyncLogFilePath { get; set; } = "./Logs/async-log-.txt";

    // 审计日志路径
    public string AuditFilePath { get; set; } = "./audits/audit-.txt";
}
